
public class Bank {
	int cash;
	public Bank(){
		cash = 0;
	}
	
	public int getCash(){
		return cash;
	}
	
	public synchronized void setCash(int amount){
		cash += amount;
	}
}
